	<template>
		<!-- 首页功能快捷入口 Grid宫格-->
		<van-grid>
			<van-grid-item v-for="(item,i) in homeItems" :key="i" :icon="item.img" :text="item.title"
				:to="{name:item.routeName}" />
		</van-grid>
	</template>

	<script>
		import menu1 from "@/assets/images/menu1.png";
		import menu2 from "@/assets/images/menu2.png";
		import menu3 from "@/assets/images/menu3.png";
		import menu4 from "@/assets/images/menu4.png";
		import menu5 from "@/assets/images/menu5.png";
		import menu6 from "@/assets/images/menu6.png";
		export default {
			name: 'homeEnter',
			data() {
				return {
					//首页快捷功能入口
					homeItems: [{
							title: "新闻资讯",
							routeName: "newsList", // 修改为新闻资讯页面的路由名称
							img: menu1,
						},
						{
							title: "图片分享",
							routeName: "imageShare",
							img: menu2,
						},
						{
							title: "留言反馈",
							routeName: "feedback", // 修改为留言反馈页面的路由名称
							img: menu3,
						},
						{
							title: "联系我们",
							routeName: "contact-us", // 修改为联系我们页面的路由名称
							img: menu4,
						},
					],
				}
			},
		}
	</script>
	<style scoped>
	</style>